package com.shenxuchen.crm.mapper;

import com.shenxuchen.crm.pojo.ClueRemark;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ClueRemarkMapper {
    @Select("select * from tbl_clue_remark where clueId=#{clueId}")
    List<ClueRemark> getByClueId(String clueId);

    @Delete("delete from tbl_clue_remark where clueId=#{clueId}")
    void deleteByClueId(String clueId);
}
